import type { RouteRecordRaw } from 'vue-router'

const systemRouter: RouteRecordRaw = {
    path: '/system',
    component: () => import('@/layout/Index.vue'),
    children: [
        {
            path: 'index',
            component: () => import('@/views/system/IndexView.vue'),
            meta: {
                title: '性能监控',
                level: 2
            }
        },
        {
            path: 'table',
            component: () => import('@/views/system/TableInformation.vue'),
            meta: {
                title: '表信息',
                level: 2
            }
        },

    ],
    meta: {
        title: '网站信息',
        icon: 'chart',
        level: 1,
        hasChild: true
    }
}

export default systemRouter